package cn.hanyx.test.api;

/**
 * Demo02
 *
 * @author hanyx
 * @date 2020/08/03
 */
public class Demo02 implements ApiA, ApiB {
    @Override
    public void f() {
        System.out.println("123");
    }

    public static void main(String[] args) {
        ApiA demo = new Demo02();
        demo.f();
    }
}

interface ApiA {
    void f();
}

interface ApiB {
    void f();
}